package com.power.using.mybomb.bean;

import com.power.using.mybomb.db.NewFriend;

import cn.bmob.v3.BmobUser;

/**
 * Created by 聪明一只哈 on 2020/3/18.
 * Time: 2020/3/18  15:49
 */
public class User extends BmobUser {

    private String avatar;

    public User() {
    }

    public User(NewFriend friend) {
        setObjectId(friend.getUid());
        setUsername(friend.getName());
        setAvatar(friend.getAvatar());
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }
}
